package com.xauto.pioneer.appuser.activity;

import android.view.View;
import com.xauto.pioneer.appuser.R;
import com.xauto.pioneer.appuser.view.PromptDialog;

/***
 *  todo 模版
 * @author Lemon todo time
 */
public class TempActivity extends BaseActivity {

    private PromptDialog promptDialog;

    @Override
    protected int getContentView() {
        return 0; // todo R.layout.
    }

    @Override
    protected void initView() {
        promptDialog = new PromptDialog(mContext, getString(R.string.notice), getString(R.string.text_not_network),
                getString(R.string.to_setting), getString(R.string.logout), getString(R.string.dialogpic_notice), new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                //去设置
                promptDialog.dismiss();
            }
        }, new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                //退出
                promptDialog.dismiss();
            }
        });
    }

    @Override
    protected void initData() {

    }

    @Override
    public void onBackPressed() {
        super.onBackPressed();
    }
}
